import yaml
def get_yml_data(fileDir):
    with open(fileDir,encoding='utf-8') as fo:
        return yaml.safe_load(fo.read())

if __name__ == '__main__':
    res = get_yml_data('../configs/ApiConfig.yml')
    print(res)
